//
//  FCBaseParadigmTool.h
//  FCBaseKit
//
//  Created by omni－appple on 2019/5/24.
//  Copyright © 2019年 ZhouYou. All rights reserved.
//


 
#import <Foundation/Foundation.h>
 
#import <ParadigmSDK/ParadigmSDK.h>
//#import "FCSingle.h"
#import <FCBaseKit/FCSingle.h>

#define kFCBaseParadigmShare [FCBaseParadigmTool shareFCBaseParadigmTool]
typedef NS_OPTIONS(NSUInteger, ParadigmTrackType) {
		/**用户查看详情行为的统计接口 只需传 itemId context 其他默认*/
		ParadigmTrackTypeShow = 0,
		/**关闭详情 只需传 itemId  其他默认*/
		ParadigmTrackTypeDisappear,
		/**用户行为分享 只需传 itemId  其他默认*/
		ParadigmTrackTypeShare,
		/**用户行为收藏 只需传 itemId  其他默认*/
		ParadigmTrackTypeCollect,
		/**点击关注 只需传 itemId  publisherId 其他默认*/
		ParadigmTrackTypeFollow,
		/** 点击不感兴趣 只需传 itemId  其他默认*/
		ParadigmTrackTypeDislikee,
		/**点击喜欢和点赞 只需传 itemId  其他默认*/
		ParadigmTrackTypeLike,
		/**当推荐结果被曝光/展现时需要调用的接口  只需传 itemId position context 其他默认*/
		ParadigmTrackTypeShowItemId,

};

@interface FCBaseParadigmTool : NSObject
SingleInterface(FCBaseParadigmTool);

@property (nonatomic,copy,nonnull)NSString *   clientToken;
@property (nonatomic , assign) NSInteger              contentId;
@property (nonatomic , assign) NSInteger              sceneId;
@property (nonatomic , assign) NSInteger              userId;
@property (nonatomic , copy,nullable) NSString    * contentToken;
+ (void)getConfig_xianjian; 

- (void)trackDetailPageShowWithType:(ParadigmTrackType)typed ItemId:(nonnull NSString *)itemId; 			 
 
- (void)trackDetailPageShowWithType:(ParadigmTrackType)typed ItemId:(nonnull NSString *)itemId 
							context:(nullable NSString *)context
						publisherId:(nullable NSString *)publisherId
						   position:(NSInteger)position;
						   
- (void)trackDetailPageShowWithItemId:(nonnull NSString *)itemId
                            itemSetId:(nullable NSString *)itemSetId
                              sceneId:(nullable NSString *)sceneId
                              context:(nullable NSString *)context
                              publisherId:(nullable NSString *)publisherId
                           		position:(NSInteger)position
                              type:(ParadigmTrackType)type;
                              
//+ (void)trackDetailPageShowWithItemId:(nonnull NSString *)itemId
//							itemSetId:(NSString *)itemSetId
//							  sceneId:(NSString *)sceneId
//							  context:(nullable NSString *)context
//						  publisherId:(nullable NSString *)publisherId
//							 position:(NSInteger)position
//								 type:(ParadigmTrackType)type;
@end
